//package com.demo.project_template.rocketmq;
//
//
//import lombok.extern.slf4j.Slf4j;
//import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
//import org.apache.rocketmq.spring.core.RocketMQListener;
//import org.springframework.stereotype.Component;
//import org.springframework.stereotype.Service;
//
///**
// * @author yyl25
// * @Classname name = MQConsumerService
// * @Version 1.0.0
// * @Date 2023/6/14 15:57
// * @Created by ${Mr.Yao}
// */
//@Slf4j
//@Component
//public class MQConsumerService {
//
//    @Service
//    @RocketMQMessageListener(topic = "xxx", selectorExpression = "cancelOrder",consumerGroup = "Group1")
//    public class cancelOrder implements RocketMQListener<String>{
//        @Override
//        public void onMessage(String orderId) {
//            //取消订单业务逻辑
//        }
//    }
//}
